package com.eminem.filechar;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;

public class FileWriterTest1 {

	public static void main(String[] args) throws Exception {
		FileWriter fw = new FileWriter(new File("c:/b.txt"));
		
		BufferedWriter bw = new BufferedWriter(fw);
		
		bw.write("helloworld");
		
		bw.close();
	}
}
